<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>To apply a style to a phrase in an HTML file</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<body>

<h1>To apply a style to a phrase in an HTML file
</h1>

	<ol>
	<li>In the HTML file, select the phrase you want to apply special formatting to.
	<li>Add the <code>&lt;SPAN&gt;</code> tag and the <code>&lt;STYLE&gt;</code> tag attributes you want. For example:

<pre>&lt;SPAN STYLE= &quot;{
font-family: times;
font-size: 12pt; 
background: yellow; 
color: red;
}&quot;&gt;
Span this phrase&lt;/SPAN&gt;</pre>
	
In this example, the font, and background <code>&lt;STYLE&gt;</code> tag attributes will be applied to the text <SPAN STYLE= "{
font-family: times;
font-size: 12pt; 
background: yellow; 
color: red;
}">
Span this phrase</SPAN>.
	</li>
	</ol>

<h3>Note</h3>

	<ul>
	<li>This allows a help author to format individual phrases, words, or letters.
	</li>
	</ul>

<table border="0" cellpadding="0" cellspacing="0">

<tr> <td valign="top"><a href="htcss.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="htcss.htm">About using cascading style sheets</a>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
